﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012AF RID: 4783
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingSelectEndingScRsp : IMessage<SwordTrainingSelectEndingScRsp>, IMessage, IEquatable<SwordTrainingSelectEndingScRsp>, IDeepCloneable<SwordTrainingSelectEndingScRsp>, IBufferMessage
	{
		// Token: 0x17003C87 RID: 15495
		// (get) Token: 0x0600D661 RID: 54881 RVA: 0x0023FF71 File Offset: 0x0023E171
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingSelectEndingScRsp> Parser
		{
			get
			{
				return SwordTrainingSelectEndingScRsp._parser;
			}
		}

		// Token: 0x17003C88 RID: 15496
		// (get) Token: 0x0600D662 RID: 54882 RVA: 0x0023FF78 File Offset: 0x0023E178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingSelectEndingScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C89 RID: 15497
		// (get) Token: 0x0600D663 RID: 54883 RVA: 0x0023FF8A File Offset: 0x0023E18A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingSelectEndingScRsp.Descriptor;
			}
		}

		// Token: 0x0600D664 RID: 54884 RVA: 0x0023FF91 File Offset: 0x0023E191
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingSelectEndingScRsp()
		{
		}

		// Token: 0x0600D665 RID: 54885 RVA: 0x0023FF99 File Offset: 0x0023E199
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingSelectEndingScRsp(SwordTrainingSelectEndingScRsp other) : this()
		{
			this.nHBIBLNJLNP_ = other.nHBIBLNJLNP_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D666 RID: 54886 RVA: 0x0023FFCA File Offset: 0x0023E1CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingSelectEndingScRsp Clone()
		{
			return new SwordTrainingSelectEndingScRsp(this);
		}

		// Token: 0x17003C8A RID: 15498
		// (get) Token: 0x0600D667 RID: 54887 RVA: 0x0023FFD2 File Offset: 0x0023E1D2
		// (set) Token: 0x0600D668 RID: 54888 RVA: 0x0023FFDA File Offset: 0x0023E1DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NHBIBLNJLNP
		{
			get
			{
				return this.nHBIBLNJLNP_;
			}
			set
			{
				this.nHBIBLNJLNP_ = value;
			}
		}

		// Token: 0x17003C8B RID: 15499
		// (get) Token: 0x0600D669 RID: 54889 RVA: 0x0023FFE3 File Offset: 0x0023E1E3
		// (set) Token: 0x0600D66A RID: 54890 RVA: 0x0023FFEB File Offset: 0x0023E1EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D66B RID: 54891 RVA: 0x0023FFF4 File Offset: 0x0023E1F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingSelectEndingScRsp);
		}

		// Token: 0x0600D66C RID: 54892 RVA: 0x00240002 File Offset: 0x0023E202
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingSelectEndingScRsp other)
		{
			return other != null && (other == this || (this.NHBIBLNJLNP == other.NHBIBLNJLNP && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D66D RID: 54893 RVA: 0x00240040 File Offset: 0x0023E240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NHBIBLNJLNP != 0U)
			{
				num ^= this.NHBIBLNJLNP.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D66E RID: 54894 RVA: 0x00240098 File Offset: 0x0023E298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D66F RID: 54895 RVA: 0x002400A0 File Offset: 0x0023E2A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D670 RID: 54896 RVA: 0x002400AC File Offset: 0x0023E2AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NHBIBLNJLNP != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.NHBIBLNJLNP);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D671 RID: 54897 RVA: 0x00240108 File Offset: 0x0023E308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NHBIBLNJLNP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NHBIBLNJLNP);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D672 RID: 54898 RVA: 0x00240160 File Offset: 0x0023E360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingSelectEndingScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NHBIBLNJLNP != 0U)
			{
				this.NHBIBLNJLNP = other.NHBIBLNJLNP;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D673 RID: 54899 RVA: 0x002401B0 File Offset: 0x0023E3B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D674 RID: 54900 RVA: 0x002401BC File Offset: 0x0023E3BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.NHBIBLNJLNP = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005594 RID: 21908
		private static readonly MessageParser<SwordTrainingSelectEndingScRsp> _parser = new MessageParser<SwordTrainingSelectEndingScRsp>(() => new SwordTrainingSelectEndingScRsp());

		// Token: 0x04005595 RID: 21909
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005596 RID: 21910
		public const int NHBIBLNJLNPFieldNumber = 5;

		// Token: 0x04005597 RID: 21911
		private uint nHBIBLNJLNP_;

		// Token: 0x04005598 RID: 21912
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04005599 RID: 21913
		private uint retcode_;
	}
}
